<?php
$client = new swoole_client(SWOOLE_SOCK_TCP);
if (!$client->connect('106.14.133.49', 80))
{
    exit("connect failed. Error: {$client->errCode}\n");
}
echo $client->send("hello world\n");
echo $client->recv();
$client->close();